using System.Collections.Generic;
using System;

namespace APNS.NET
{
    public interface IApnsConnection : IDisposable
    {
        ApnsNotificationResponse TransmitNotification(ApnsNotification notification);
        ApnsNotification GetTransmittedNotificationWithId(int notificationId);
        IEnumerable<ApnsNotification> GetTransmittedNotifications();
        IEnumerable<ApnsNotification> GetTransmittedNotifications(int sentAfterId);
        bool Connected { get; }
        void Close();
    }
}